package com.kingdee.eas.basedata.org;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class OrgTreeFactory
{
    private OrgTreeFactory()
    {
    }
    public static com.kingdee.eas.basedata.org.IOrgTree getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.basedata.org.IOrgTree)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("4F2827FD") ,com.kingdee.eas.basedata.org.IOrgTree.class);
    }
    
    public static com.kingdee.eas.basedata.org.IOrgTree getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.basedata.org.IOrgTree)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("4F2827FD") ,com.kingdee.eas.basedata.org.IOrgTree.class, objectCtx);
    }
    public static com.kingdee.eas.basedata.org.IOrgTree getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.basedata.org.IOrgTree)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("4F2827FD"));
    }
    public static com.kingdee.eas.basedata.org.IOrgTree getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.basedata.org.IOrgTree)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("4F2827FD"));
    }
}